The RichTextEditor Component > FRichTextEditor.addFont()

 

FRichTextEditor.addFont()

Availability

Flash Player 6.

Usage

my_instance.addFont (name, id, embed)

Parameters

name Preferred name of the font
id Linkage ID of the font to use
embed Boolean - true if font is embeded

Returns

Nothing.

Description

Method; adds a font to the editor font list.

Example

The following code adds a new font to an instance of the editor

myEditor_rte.addFont("Basic Font", "Arial", false);

See also

FRichTextEditor.propertyD